package com.rc.saas.mini.model.rc;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-07-11
 */

@ApiModel(value=" rc_enterprise_gain_grade_record ", description=" 企业会员权益档记录表 ")
public class RcEnterpriseGainGradeRecord extends BaseModel{ 

    @ApiModelProperty(value = "企业权益档位ID")
    private Long enterpriseGainGradeRecordId;
 
    @ApiModelProperty(value = "企业权益记录ID")
    private Long enterpriseGainRecordId;
 
    @ApiModelProperty(value = "权益ID,一条权益多条档位ID")
    private Long enterpriseGainId;
 
    @ApiModelProperty(value = "企业用户ID")
    private Long enterpriseId;
 
    @ApiModelProperty(value = "用户id")
    private Long memberId;
 
    @ApiModelProperty(value = "档位充值金额")
    private BigDecimal rechargeAmount;
 
    @ApiModelProperty(value = "档位折扣")
    private BigDecimal discountAmount;
 
    @ApiModelProperty(value = "尊享标识")
    private String gainLogo;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Long getEnterpriseGainGradeRecordId() {
        return enterpriseGainGradeRecordId;
    }

    public void setEnterpriseGainGradeRecordId(Long enterpriseGainGradeRecordId) {
        this.enterpriseGainGradeRecordId = enterpriseGainGradeRecordId;
    }

    public Long getEnterpriseGainRecordId() {
        return enterpriseGainRecordId;
    }

    public void setEnterpriseGainRecordId(Long enterpriseGainRecordId) {
        this.enterpriseGainRecordId = enterpriseGainRecordId;
    }

    public Long getEnterpriseGainId() {
        return enterpriseGainId;
    }

    public void setEnterpriseGainId(Long enterpriseGainId) {
        this.enterpriseGainId = enterpriseGainId;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public BigDecimal getRechargeAmount() {
        return rechargeAmount;
    }

    public void setRechargeAmount(BigDecimal rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public String getGainLogo() {
        return gainLogo;
    }

    public void setGainLogo(String gainLogo) {
        this.gainLogo = gainLogo;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
